/* ----------------------------------------------------------------------------
* File: dictionary.h
*
* Desc: Interface for any quiz dictionary
*
* Created: 06/05/2011, by Alexey Korshunov
* ---------------------------------------------------------------------------- */
#ifndef _DICTIONARY_INTERFACE_H_
#define _DICTIONARY_INTERFACE_H_

#include <string>

namespace QuizCore
{
	struct DictionaryInfo
	{
		DictionaryInfo()
			: CountQuestions(0)
		{
		}

		unsigned int CountQuestions;
	};

	class DictionaryManager
	{
	public:
		virtual ~DictionaryManager()
		{
		}

		virtual void GetDictionaryInfo(DictionaryInfo&) = 0;
		virtual void SetCurNumberQuestion(unsigned int Num) = 0;
		virtual const std::string& GetQuestion() = 0;
		virtual const std::string& GetAnswer() = 0;
	};
}

#endif // _DICTIONARY_INTERFACE_H_
